<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    *{
        margin: 0;
        padding: 0;
    }
    /* .container{
        max-width: 1000px;
        min-width: 600px;
        height: auto;
        margin: 0 auto;
        border: 1px solid #ddd;
    } */
     html,body{
        height: 100%;
     }
    .left{
        width: 200px;
        height: 100%;
        background-color: blueviolet;
        float: left;
    }
    .right{
        height: 100%;
        background-color: green;
        margin-left: 200px;
    }
    .clearfix::after{
        display: block;
        content: '';
        clear: both;
    }
</style>
<body>
    <!-- <div class="container clearfix"> -->
        <div class="left">left</div>
        <div class="right">right</div>
    <!-- </div> -->
    
</body>
</html>